package cn.lynu.book.chapter04.example4_17;

public class Student{
   private int age;
   public void setAge(int age){
      if(age>=7&&age<=28){
          this.age=age;
      }
   }
   public int getAge(){
      return age;
   }
}
